﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="UserControl_DichVu_Menu" %>
<style type="text/css">
table.menu a { 
width:172px;	
border:1px solid white;	
display: block; 
text-transform:uppercase;
vertical-align:middle;
font-size:16px;
text-decoration: none;
font-family: Arial; line-height: 13px; text-align: left; font-size: small;
}
div.menu	a 
{
    
color: Black;	
background: #eaebec; 
text-decoration:none; 
font-size:12px; 
line-height:20px; 
padding: 2px 5px;
}


div.menu	a:hover {
padding: 2px 5px;
background: #e1e1e1; 
border:1px solid white; 
}
</style>
 <div class="menu">
<asp:DataList ID="DataList2" runat="server" DataSourceID="SqlDataSource1"  CssClass="menu"
    Width="98%">
    <ItemTemplate>
   
       <strong>
                    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="Nam3"
                        NavigateUrl='<%# Eval("ID", "~/DichVu.aspx?DichVuID={0}") %>' 
                        Text='<%# Eval("TieuDe") %>'></asp:HyperLink>
             </strong>
       
    </ItemTemplate>
</asp:DataList>
 </div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
    SelectCommand="SELECT TinTuc.ID, TinTuc.TieuDe FROM TinTuc INNER JOIN LoaiTin ON TinTuc.LoaiTin = LoaiTin.ID WHERE (LoaiTin.TheLoai = 1)">
</asp:SqlDataSource>






